<!DOCTYPE html>
<html xmlns:th="http://www.w3.org/1999/xhtml">

<head>
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8"/>
    <script type="text/javascript" src="../scripts/jquery/jquery-1.7.1.js"></script>
    <link href="../style/authority/basic_layout.css" rel="stylesheet" type="text/css">
    <link href="../style/authority/common_style.css" rel="stylesheet" type="text/css">
    <script type="text/javascript" src="../scripts/authority/commonAll.js"></script>
    <script type="text/javascript" src="../scripts/jquery/jquery-1.7.1.js"></script>
    <link rel="stylesheet" href="../style/bootstrap.min.css"/>
    <title>信息管理系统</title>
    <style>
        .alt td {
            background: black !important;
        }
    </style>
</head>

<body>
<div id="container">
    <div class="ui_content">
        <div class="ui_text_indent">
            <div id="box_border">
                <div id="box_top">人员任务总览</div>
            </div>
        </div>
    </div>
</div>
<div class="ui_content">
    <div class="ui_tb">
        <table class="table" cellspacing="0" cellpadding="0" width="100%" align="center" border="0">
            <tr>
                </th>
                <th>人员姓名</th>
                <th>正在执行的任务</th>
            </tr>
            <div th:each="pro:${project2}" th:Object="${pro}">
                <tr>
                    <td th:if="*{project.lord == user.id}" th:text="*{user.name}"></td>
                    <td th:if="*{project.lord == user.id}">
                        <span th:text="*{project.name}"></span>&nbsp;主审
                    </td>
                </tr>
                <tr>
                    <td th:if="*{project.adjudication == user2.id}" th:text="*{user2.name}"></td>
                    <td th:if="*{project.adjudication == user2.id}">
                        <span th:text="*{project.name}"></span>&nbsp;助审
                    </td>
                </tr>
            </div>

        </table>
    </div>
    <div class="jump" style="float:right;">
        <ul class="pagination">
            <li class="page-item"><a href="/Leader/HumanResources?page=1">首页</a></li>
            <li class="page-item">
                <a th:href="@{/Leader/HumanResources?page=}+(${pager-1}<1?1:${pager-1})">上一页</a></li>
            <li class="page-item">
                <a th:href="@{/Leader/HumanResources?page=}+(${pager+1}>${pageCount}?${pageCount}:${pager+1})">下一页</a>
            </li>
            <li class="page-item">
                <a th:href="@{/Leader/HumanResources?page=}+${pageCount}">尾页</a>
            </li>
            <li class="page-item">
                <span th:text="'第'+${pager}+'页/共'+${pageCount}+'页'"></span>
            </li>
        </ul>
    </div>
</div>
</div>
</body>

</html>